all: GridCars.love

clean:
	rm -f GridCars.love

SOURCES=main.lua\
 callbacks.lua\
 car.lua\
 chat.lua\
 conf.lua\
 config.lua\
 environment.lua\
 game.lua\
 images.lua\
 lobby.lua\
 map.lua\
 menu.lua\
 panel.lua\
 sounds.lua\
 stats.lua\
 utility.lua\
 compat.lua

SOUNDS=sounds/beep.wav

IMAGES=images/Baum1.png\
 images/Baum2.png\
 images/Baum3.png\
 images/BaumKl1.png\
 images/BaumKl2.png\
 images/BaumKl3.png\
 images/Brunnen.png\
 images/Feld.png\
 images/Haus1.png\
 images/Haus2.png\
 images/Haus3.png\
 images/Haus4.png\
 images/HausLang1.png\
 images/HausLang2.png\
 images/Kidz1.png\
 images/Logo.png\
 images/Markt1.png\
 images/Markt2.png\
 images/Schafe.png\
 images/See.png\
 images/Traktor.png\
 images/car.png\
 images/detail1.png\
 images/detail2.png\
 images/detail3.png\
 images/detail4.png\
 images/head1.png\
 images/head2.png\
 images/head3.png\
 images/head4.png\
 images/laternenumzug.png

MAPS=maps/F1-catalunya.stl\
 maps/F1-donington.stl\
 maps/F1-hockenheim.stl\
 maps/F1-imola.stl\
 maps/F1-monaco.stl\
 maps/F1-monza.stl\
 maps/F1-spa.stl\
 maps/TC-bathurst.stl\
 maps/TC-brandshatch.stl\
 maps/TC-indy.stl\
 maps/TC-lagunaseca.stl\
 maps/map1.stl\
 maps/map2.stl\
 maps/map4.stl\
 maps/map5.stl\
 maps/map6.stl

LIBS=lib/hump/camera.lua\
 lib/punchUI/colors.lua\
 lib/punchUI/init.lua\
 lib/punchUI/inputBlock.lua\
 lib/punchUI/middleclass.lua\
 lib/punchUI/panel.lua\
 lib/punchUI/screen.lua\
 lib/punchUI/textBlock.lua\
 lib/punchUI/utility.lua\
 network/advertise.lua\
 network/client.lua\
 network/commands.lua\
 network/network.lua\
 network/server.lua\
 network/serverlist/advertiseOnlineThreadded.lua\
 network/serverlist/requestOnlineThreadded.lua\
 network/user.lua\
 network/utility.lua

UNUSED=dedicated.lua\
 timer.lua\
 lib/hump/class.lua\
 lib/hump/gamestate.lua\
 lib/hump/signal.lua\
 lib/hump/timer.lua\
 lib/hump/vector-light.lua\
 lib/hump/vector.lua\
 lib/punchUI/punchUI.lua\
 lib/punchUI/main.lua\
 network/examples/dedicated.lua\
 network/game.lua\
 network/main.lua\
 network/menu.lua\
 network/serverlist/advertiseOnline.lua\
 network/serverlist/unAdvertiseOnline.lua


TEXTS=README.md License.txt lib/punchUI/License.txt network/License.txt

GridCars.love: $(TEXTS) $(SOURCES) $(SOUNDS) $(MAPS) $(IMAGES) $(LIBS)
	zip -9 $@ $?

.PHONY: all clean
